package com.hz.web.service.impl;

import com.hz.web.dao.NotifyMapper;
import com.hz.web.entity.Notify;
import com.hz.web.service.NotifyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by kaddddd on 2018/5/15 0015.
 */
@Service
public class NotifyServiceImpl implements NotifyService{
    @Autowired
    NotifyMapper notifyMapper;

    public List<Notify> selectNotifyList(){
        return notifyMapper.selectNotifyList();
    }

    public void addNotify(Notify notify){
        notifyMapper.addNotify(notify);
    }
}
